package com.lz.autotest.project.testmanage.autoTest.service;

import com.lz.autotest.common.entity.ResponseVo;
import com.lz.autotest.project.testmanage.autoTest.entity.TsstAutotestItem;
import com.lz.autotest.project.testmanage.autoTest.entity.TsstAutotestItemVo;
import com.lz.autotest.project.testmanage.infmanage.domain.SstInf;

import java.util.List;
import java.util.Map;

/**
 * @author: X
 * @date: Created in 2023/6/15 16:51
 * @Description:
 */
public interface TsstAutotestItemService {
    /**
     * 新增
     */
    public ResponseVo insert(TsstAutotestItem tsstAutotestItem);

    /**
     * 删除
     */
    public ResponseVo delete(Long id);

    /**
     * 更新
     */
    public ResponseVo update(TsstAutotestItem tsstAutotestItem);

    /**
     * 根据主键 id 查询
     */
    public TsstAutotestItem load(int id);

    /**
     * 根据主键 id 查询接口
     */
    List<SstInf> getMenuDetail(Map<String, Object> param);

    /**
     * 保存菜单和接口的对应关系
     *
     * @param param
     */
    void saveAutoTestItem(TsstAutotestItemVo vo);
}
